<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Catharsis.NET.Commons: Catharsis.Commons.StringExtensions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Catharsis.NET.Commons
   &#160;<span id="projectnumber">2.8</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_catharsis_1_1_commons_1_1_string_extensions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_catharsis_1_1_commons_1_1_string_extensions-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Catharsis.Commons.StringExtensions Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p> 
 <a href="class_catharsis_1_1_commons_1_1_string_extensions.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a03655226b7e4c8815a6b334e52caef66"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a03655226b7e4c8815a6b334e52caef66">Base64</a> (this string self)</td></tr>
<tr class="separator:a03655226b7e4c8815a6b334e52caef66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84953b82b180dc4947d75e131b9a9387"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a84953b82b180dc4947d75e131b9a9387">Bytes</a> (this string self, Encoding encoding=null, bool preamble=true)</td></tr>
<tr class="separator:a84953b82b180dc4947d75e131b9a9387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b3e356f73aa2aea469505b283a2148d"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a8b3e356f73aa2aea469505b283a2148d">CompareTo</a> (this string self, string other, StringComparison options)</td></tr>
<tr class="separator:a8b3e356f73aa2aea469505b283a2148d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a081cffec936301d6d450d8e824d0b8d1"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a081cffec936301d6d450d8e824d0b8d1">CompareTo</a> (this string self, string other, CompareOptions options, CultureInfo culture=null)</td></tr>
<tr class="separator:a081cffec936301d6d450d8e824d0b8d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa706de6e92d81291d1b28e43393db8e0"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aa706de6e92d81291d1b28e43393db8e0">Drop</a> (this string self, int count)</td></tr>
<tr class="separator:aa706de6e92d81291d1b28e43393db8e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5b5a553e05a56304dcc93c6de7172ff"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#ac5b5a553e05a56304dcc93c6de7172ff">FormatInvariant</a> (this string self, params object[] args)</td></tr>
<tr class="separator:ac5b5a553e05a56304dcc93c6de7172ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b19c7ae5dca4a696d11cd5d03d9d3c1"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a1b19c7ae5dca4a696d11cd5d03d9d3c1">FormatSelf</a> (this string self, params object[] args)</td></tr>
<tr class="separator:a1b19c7ae5dca4a696d11cd5d03d9d3c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa24d97f2f1d52608c50ed57b8b789459"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aa24d97f2f1d52608c50ed57b8b789459">Hex</a> (this string self)</td></tr>
<tr class="separator:aa24d97f2f1d52608c50ed57b8b789459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d61d38497a69d9d9f6a3aa44bd2235b"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a9d61d38497a69d9d9f6a3aa44bd2235b">IsBoolean</a> (this string self)</td></tr>
<tr class="separator:a9d61d38497a69d9d9f6a3aa44bd2235b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeaea0742140923a5e0cd089e3ffa495"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#afeaea0742140923a5e0cd089e3ffa495">IsDateTime</a> (this string self)</td></tr>
<tr class="separator:afeaea0742140923a5e0cd089e3ffa495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40444fa833f7d26d88cd9d0edb116b40"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a40444fa833f7d26d88cd9d0edb116b40">IsDouble</a> (this string self)</td></tr>
<tr class="separator:a40444fa833f7d26d88cd9d0edb116b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a337594a6e869a25b3a1b79942434c41c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a337594a6e869a25b3a1b79942434c41c">IsEmpty</a> (this string self)</td></tr>
<tr class="separator:a337594a6e869a25b3a1b79942434c41c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abffd6e3609376bd2662661fac502264f"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#abffd6e3609376bd2662661fac502264f">IsGuid</a> (this string self)</td></tr>
<tr class="separator:abffd6e3609376bd2662661fac502264f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77d557a2ef120f67529706284edc539b"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a77d557a2ef120f67529706284edc539b">IsInteger</a> (this string self)</td></tr>
<tr class="separator:a77d557a2ef120f67529706284edc539b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03ff5c2e2f606e4cadde73f2d7281d6c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a03ff5c2e2f606e4cadde73f2d7281d6c">IsIpAddress</a> (this string self)</td></tr>
<tr class="separator:a03ff5c2e2f606e4cadde73f2d7281d6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ce658d986bec02de7067dad836661b0"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a3ce658d986bec02de7067dad836661b0">IsMatch</a> (this string self, string pattern, RegexOptions?options=null)</td></tr>
<tr class="separator:a3ce658d986bec02de7067dad836661b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a1de9edad5f4303e8c6e80f7a44eb96"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a1a1de9edad5f4303e8c6e80f7a44eb96">IsUri</a> (this string self)</td></tr>
<tr class="separator:a1a1de9edad5f4303e8c6e80f7a44eb96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53c1014689e30007546d06ceb7e00d01"><td class="memItemLeft" align="right" valign="top">static string[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a53c1014689e30007546d06ceb7e00d01">Lines</a> (this string self)</td></tr>
<tr class="separator:a53c1014689e30007546d06ceb7e00d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e91ac62baaaccbba60e7a978466cd9"><td class="memItemLeft" align="right" valign="top">static MatchCollection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#ae3e91ac62baaaccbba60e7a978466cd9">Matches</a> (this string self, string pattern, RegexOptions?options=null)</td></tr>
<tr class="separator:ae3e91ac62baaaccbba60e7a978466cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf7f08e24034406f6ca63e2b47284e27"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#acf7f08e24034406f6ca63e2b47284e27">Multiply</a> (this string self, int count)</td></tr>
<tr class="separator:acf7f08e24034406f6ca63e2b47284e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d754a9457ae8b65789d66ddc3544591"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a7d754a9457ae8b65789d66ddc3544591">Prepend</a> (this string self, string other)</td></tr>
<tr class="separator:a7d754a9457ae8b65789d66ddc3544591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26859d389f43b829fd905eab69fd757c"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a26859d389f43b829fd905eab69fd757c">Replace</a> (this string self, IDictionary&lt; string, string &gt; replacements)</td></tr>
<tr class="separator:a26859d389f43b829fd905eab69fd757c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a044d1b02c5d7a8429ae966e42d271dc7"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a044d1b02c5d7a8429ae966e42d271dc7">Replace</a> (this string self, IEnumerable&lt; string &gt; from, IEnumerable&lt; string &gt; to)</td></tr>
<tr class="separator:a044d1b02c5d7a8429ae966e42d271dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbc46dec8a5af192bffad12df96c3d23"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#abbc46dec8a5af192bffad12df96c3d23">SwapCase</a> (this string self, CultureInfo culture=null)</td></tr>
<tr class="separator:abbc46dec8a5af192bffad12df96c3d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2f38af0cc094e386d83110ed66a947d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#ae2f38af0cc094e386d83110ed66a947d">ToBoolean</a> (this string self)</td></tr>
<tr class="separator:ae2f38af0cc094e386d83110ed66a947d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8bdfec0dac6db18e8151a4502a2ff27"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#af8bdfec0dac6db18e8151a4502a2ff27">ToBoolean</a> (this string self, out bool result)</td></tr>
<tr class="separator:af8bdfec0dac6db18e8151a4502a2ff27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f534ed32b8dc03836c75e7058c6bc91"><td class="memItemLeft" align="right" valign="top">static byte&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a4f534ed32b8dc03836c75e7058c6bc91">ToByte</a> (this string self)</td></tr>
<tr class="separator:a4f534ed32b8dc03836c75e7058c6bc91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a413c4029446667516f35a948ee3cc06c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a413c4029446667516f35a948ee3cc06c">ToByte</a> (this string self, out byte result)</td></tr>
<tr class="separator:a413c4029446667516f35a948ee3cc06c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca0b80c59f84ed6419cfc02977ce6752"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aca0b80c59f84ed6419cfc02977ce6752">ToDateTime</a> (this string self)</td></tr>
<tr class="separator:aca0b80c59f84ed6419cfc02977ce6752"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab31973b8ac553b4aacbc3772644ad558"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#ab31973b8ac553b4aacbc3772644ad558">ToDateTime</a> (this string self, out DateTime result)</td></tr>
<tr class="separator:ab31973b8ac553b4aacbc3772644ad558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a193f9316f751391095fa80aa53415ebd"><td class="memItemLeft" align="right" valign="top">static decimal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a193f9316f751391095fa80aa53415ebd">ToDecimal</a> (this string self)</td></tr>
<tr class="separator:a193f9316f751391095fa80aa53415ebd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04dd155b9de3d8c1aff3251d613a6457"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a04dd155b9de3d8c1aff3251d613a6457">ToDecimal</a> (this string self, out decimal result)</td></tr>
<tr class="separator:a04dd155b9de3d8c1aff3251d613a6457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a313ef97d91b47b08fa8d774c140812"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a9a313ef97d91b47b08fa8d774c140812">ToDouble</a> (this string self)</td></tr>
<tr class="separator:a9a313ef97d91b47b08fa8d774c140812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b3df5af2b2c10033565138c10b2fabf"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a3b3df5af2b2c10033565138c10b2fabf">ToDouble</a> (this string self, out double result)</td></tr>
<tr class="separator:a3b3df5af2b2c10033565138c10b2fabf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35ae9f276913c720c8ef98ebc81bf34c"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a35ae9f276913c720c8ef98ebc81bf34c">ToEnum&lt; T &gt;</a> (this string self)</td></tr>
<tr class="separator:a35ae9f276913c720c8ef98ebc81bf34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58210695b7c6e7754ec16e6e5729a011"><td class="memItemLeft" align="right" valign="top">static Guid&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a58210695b7c6e7754ec16e6e5729a011">ToGuid</a> (this string self)</td></tr>
<tr class="separator:a58210695b7c6e7754ec16e6e5729a011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae868deaac97b1ef2645e1853e3936af9"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#ae868deaac97b1ef2645e1853e3936af9">ToGuid</a> (this string self, out Guid result)</td></tr>
<tr class="separator:ae868deaac97b1ef2645e1853e3936af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa6ba3c297d73cc53942d042d1973cb4"><td class="memItemLeft" align="right" valign="top">static short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#afa6ba3c297d73cc53942d042d1973cb4">ToInt16</a> (this string self)</td></tr>
<tr class="separator:afa6ba3c297d73cc53942d042d1973cb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2d9aa36611f2c321b33348f0fe29905"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aa2d9aa36611f2c321b33348f0fe29905">ToInt16</a> (this string self, out short result)</td></tr>
<tr class="separator:aa2d9aa36611f2c321b33348f0fe29905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a673437913146f1096bb5cd5501dc6279"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a673437913146f1096bb5cd5501dc6279">ToInt32</a> (this string self)</td></tr>
<tr class="separator:a673437913146f1096bb5cd5501dc6279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ca7393dcec20d11f4265571bdb78742"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a0ca7393dcec20d11f4265571bdb78742">ToInt32</a> (this string self, out int result)</td></tr>
<tr class="separator:a0ca7393dcec20d11f4265571bdb78742"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3a9c1c53e6ddbb191647027656c17d"><td class="memItemLeft" align="right" valign="top">static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aaa3a9c1c53e6ddbb191647027656c17d">ToInt64</a> (this string self)</td></tr>
<tr class="separator:aaa3a9c1c53e6ddbb191647027656c17d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8c7a4cd15ebfb6bc94e9e4f6bba77b"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a1b8c7a4cd15ebfb6bc94e9e4f6bba77b">ToInt64</a> (this string self, out long result)</td></tr>
<tr class="separator:a1b8c7a4cd15ebfb6bc94e9e4f6bba77b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf534da662b79609a8d647f4a244081"><td class="memItemLeft" align="right" valign="top">static IPAddress&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#abcf534da662b79609a8d647f4a244081">ToIpAddress</a> (this string self)</td></tr>
<tr class="separator:abcf534da662b79609a8d647f4a244081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa08859a5ae366362116790d8ff691d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#afaa08859a5ae366362116790d8ff691d">ToIpAddress</a> (this string self, out IPAddress result)</td></tr>
<tr class="separator:afaa08859a5ae366362116790d8ff691d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a605e55fd2b5f4035e07d189f03630f5a"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a605e55fd2b5f4035e07d189f03630f5a">Tokenize</a> (this string self, IDictionary&lt; string, object &gt; tokens, string marker=&quot;:&quot;)</td></tr>
<tr class="separator:a605e55fd2b5f4035e07d189f03630f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fa26683474c9a14d27c264d6a83f0cf"><td class="memItemLeft" align="right" valign="top">static Regex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a6fa26683474c9a14d27c264d6a83f0cf">ToRegex</a> (this string self)</td></tr>
<tr class="separator:a6fa26683474c9a14d27c264d6a83f0cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3cf7df2683b0b4b663f0b756391c3bc"><td class="memItemLeft" align="right" valign="top">static Single&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#ad3cf7df2683b0b4b663f0b756391c3bc">ToSingle</a> (this string self)</td></tr>
<tr class="separator:ad3cf7df2683b0b4b663f0b756391c3bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa770a15eddc41a6c285cf8d61f6d2e8"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aaa770a15eddc41a6c285cf8d61f6d2e8">ToSingle</a> (this string self, out Single result)</td></tr>
<tr class="separator:aaa770a15eddc41a6c285cf8d61f6d2e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a993c30ccd0ca66d6479ca383b799a809"><td class="memItemLeft" align="right" valign="top">static Uri&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a993c30ccd0ca66d6479ca383b799a809">ToUri</a> (this string self)</td></tr>
<tr class="separator:a993c30ccd0ca66d6479ca383b799a809"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee9db9e7f79ea263b100fe0fa58772aa"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#aee9db9e7f79ea263b100fe0fa58772aa">ToUri</a> (this string self, out Uri result)</td></tr>
<tr class="separator:aee9db9e7f79ea263b100fe0fa58772aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1aa857c2341ed77564a738790ea749bd"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html#a1aa857c2341ed77564a738790ea749bd">Whitespace</a> (this string self)</td></tr>
<tr class="separator:a1aa857c2341ed77564a738790ea749bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Set of extension methods for class string.</p>
<dl class="section see"><dt>See also</dt><dd>string</dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a03655226b7e4c8815a6b334e52caef66"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.StringExtensions.Base64 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts a BASE64-encoded string to an equivalent 8-bit unsigned integer array.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>BASE64-encoded string to be converted to binary form.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of 8-bit unsigned integers that is equivalent to <em>self</em> .</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>System.Convert.FromBase64String(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a84953b82b180dc4947d75e131b9a9387"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.StringExtensions.Bytes </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Encoding&#160;</td>
          <td class="paramname"><em>encoding</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>preamble</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts string to an array of bytes, using specified Encoding.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String that consists of characters that are to be transformed to bytes.</td></tr>
    <tr><td class="paramname">encoding</td><td>Encoding to be used for transformation between characters of <em>self</em>  and their bytes equivalents. If not specified, default Encoding.UTF8 is used.</td></tr>
    <tr><td class="paramname">preamble</td><td>Whether to append byte preamble of <em>encoding</em>  to the beginning of the resulting byte array.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Array of bytes that form <em>self</em>  string in given <em>encoding</em> .</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Encoding.GetBytes(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a8b3e356f73aa2aea469505b283a2148d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int Catharsis.Commons.StringExtensions.CompareTo </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">StringComparison&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Compares two specified strings and returns an integer that indicates their relative position in the sort order.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The current string to compare with the second.</td></tr>
    <tr><td class="paramname">other</td><td>The second string to compare with the current.</td></tr>
    <tr><td class="paramname">options</td><td>One of the enumeration values that specifies the rules to use in the comparison.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Integer value that indicates the lexical relationship between the two comparands.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>string.Compare(string, string, StringComparison), CompareTo(string, string, CompareOptions, CultureInfo)</dd></dl>

</div>
</div>
<a class="anchor" id="a081cffec936301d6d450d8e824d0b8d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int Catharsis.Commons.StringExtensions.CompareTo </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CompareOptions&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CultureInfo&#160;</td>
          <td class="paramname"><em>culture</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Compares two specified strings and returns an integer that indicates their relative position in the sort order.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The current string to compare with the second.</td></tr>
    <tr><td class="paramname">other</td><td>The second string to compare with the current.</td></tr>
    <tr><td class="paramname">options</td><td>Options to use when performing the comparison (such as ignoring case or symbols).</td></tr>
    <tr><td class="paramname">culture</td><td>The culture that supplies culture-specific comparison information.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Integer value that indicates the lexical relationship between the two comparands.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>string.Compare(string, string, CultureInfo, CompareOptions), CompareTo(string, string, StringComparison)</dd></dl>

</div>
</div>
<a class="anchor" id="aa706de6e92d81291d1b28e43393db8e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.Drop </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Removes specified number of characters from the beginning of a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be altered.</td></tr>
    <tr><td class="paramname">count</td><td>Number of characters to drop.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Resulting string with removed characters.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac5b5a553e05a56304dcc93c6de7172ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.FormatInvariant </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params object[]&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Replaces each format item in a string with the text equivalent of a corresponding object's value, using CultureInfo.InvariantCulture to perform string conversion of objects.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>A composite format string.</td></tr>
    <tr><td class="paramname">args</td><td>An object array that contains zero or more objects to format.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A copy of <em>self</em>  in which the format items have been replaced by the string representation of the corresponding objects in <em>args</em> .</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>string.Format(string, object[])</dd></dl>

</div>
</div>
<a class="anchor" id="a1b19c7ae5dca4a696d11cd5d03d9d3c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.FormatSelf </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params object[]&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Replaces each format item in a string with the text equivalent of a corresponding object's value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>A composite format string.</td></tr>
    <tr><td class="paramname">args</td><td>An object array that contains zero or more objects to format.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A copy of <em>self</em>  in which the format items have been replaced by the string representation of the corresponding objects in <em>args</em> .</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>string.Format(string, object[])</dd></dl>

</div>
</div>
<a class="anchor" id="aa24d97f2f1d52608c50ed57b8b789459"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.StringExtensions.Hex </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts HEX-encoded string into array of bytes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>HEX-encoded string to be converted to byte array.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded data from HEX-encoded <em>self</em>  string.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>ArrayExtensions.Hex(byte[])</dd></dl>

</div>
</div>
<a class="anchor" id="a9d61d38497a69d9d9f6a3aa44bd2235b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsBoolean </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid bool value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of bool type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afeaea0742140923a5e0cd089e3ffa495"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsDateTime </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid DateTime value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of DateTime type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a40444fa833f7d26d88cd9d0edb116b40"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsDouble </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid double value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of double type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a337594a6e869a25b3a1b79942434c41c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsEmpty </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines where a string is either <code>null</code> reference or is string.Empty.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  is either a <code>null</code> reference or an empty string.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>string.IsNullOrEmpty(string)</dd></dl>

</div>
</div>
<a class="anchor" id="abffd6e3609376bd2662661fac502264f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsGuid </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid Guid value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of Guid type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a77d557a2ef120f67529706284edc539b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsInteger </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid integer value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of integer type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a03ff5c2e2f606e4cadde73f2d7281d6c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsIpAddress </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid IPAddress value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of IPAddress type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3ce658d986bec02de7067dad836661b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsMatch </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RegexOptions?&#160;</td>
          <td class="paramname"><em>options</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a string matches specified regular expression.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The string to search for a match.</td></tr>
    <tr><td class="paramname">pattern</td><td>The regular expression pattern to match.</td></tr>
    <tr><td class="paramname">options</td><td>A bitwise combination of the enumeration values that specify options for matching.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  matches <em>pattern</em>  regular expression, <code>false</code> if not.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em>  or <em>pattern</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Regex.IsMatch(string, string)</dd></dl>

</div>
</div>
<a class="anchor" id="a1a1de9edad5f4303e8c6e80f7a44eb96"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.IsUri </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether a source string represents a valid Uri value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to evaluate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  represents a valid value of Uri type, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a53c1014689e30007546d06ceb7e00d01"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string [] Catharsis.Commons.StringExtensions.Lines </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Splits given string on a newline (Environment.NewLine) character into array of strings.</p>
<p>If source string is string.Empty, empty array is returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to be splitted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Target array of strings, which are part of <em>self</em>  string.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae3e91ac62baaaccbba60e7a978466cd9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static MatchCollection Catharsis.Commons.StringExtensions.Matches </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RegexOptions?&#160;</td>
          <td class="paramname"><em>options</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Searches source input string for all occurrences of a specified regular expression, using the specified matching options.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The string to search for a match.</td></tr>
    <tr><td class="paramname">pattern</td><td>The regular expression pattern to match.</td></tr>
    <tr><td class="paramname">options</td><td>A bitwise combination of the enumeration values that specify options for matching.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A collection of the Match objects found by the search. If no matches are found, the method returns an empty collection object.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em>  or <em>pattern</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf7f08e24034406f6ca63e2b47284e27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.Multiply </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Multiplies/repeats value of source string given number of times, returning resulting string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to repeat.</td></tr>
    <tr><td class="paramname">count</td><td>Number of repeatings.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Resulting string, consisting of <em>self</em> 's data that has been repeated <em>count</em>  times.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7d754a9457ae8b65789d66ddc3544591"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.Prepend </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>other</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Prepends specified string to the target one, concatenating both of them.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string.</td></tr>
    <tr><td class="paramname">other</td><td>String to prepend.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Concatenated result of <em>other</em>  and <em>self</em>  string.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a26859d389f43b829fd905eab69fd757c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.Replace </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>replacements</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Replaces all occurrences of different substrings with specified new values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string where replacements are to be made.</td></tr>
    <tr><td class="paramname">replacements</td><td>Collection of replacements, where key represents a substring to be replaced and value represents a new value for former substring.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em>  or <em>replacements</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New string with performed replacements.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>Replace(string, IEnumerable{string}, IEnumerable{string})</dd></dl>

</div>
</div>
<a class="anchor" id="a044d1b02c5d7a8429ae966e42d271dc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.Replace </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; string &gt;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; string &gt;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Replaces all occurrences of different substrings with specified new values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string where replacements are to be made.</td></tr>
    <tr><td class="paramname">from</td><td>Collection of substrings that should be replaced in source string. It must have the same number of elements as in <em>to</em>  sequence.</td></tr>
    <tr><td class="paramname">to</td><td>Collection of new replacement values. It must have the same number of elements as in <em>from</em>  sequence.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New string with performed replacements.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em> , <em>from</em>  or <em>to</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Replace(string, IDictionary{string, string})</dd></dl>

</div>
</div>
<a class="anchor" id="abbc46dec8a5af192bffad12df96c3d23"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.SwapCase </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CultureInfo&#160;</td>
          <td class="paramname"><em>culture</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Alters case of all characters inside a string, using provided culture.</p>
<p>Upper-case characters are converted to lower-case and vice versa.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string to be converted.</td></tr>
    <tr><td class="paramname">culture</td><td>Culture to use for case conversion, or a <code>null</code> reference to use CultureInfo.InvariantCulture.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result string with swapped case of characters from <em>self</em>  string.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae2f38af0cc094e386d83110ed66a947d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToBoolean </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into bool value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  is equivalent to bool.TrueString, <code>false otherwise</code>.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is string.Empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>bool.Parse(string), ToBoolean(string, out bool)</dd></dl>

</div>
</div>
<a class="anchor" id="af8bdfec0dac6db18e8151a4502a2ff27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToBoolean </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out bool&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into bool value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td><code>true</code> if <em>self</em>  is equivalent to bool.TrueString, <code>false otherwise</code>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>bool.TryParse(string, out bool), ToBoolean(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a4f534ed32b8dc03836c75e7058c6bc91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte Catharsis.Commons.StringExtensions.ToByte </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into byte value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The byte value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>byte.Parse(string), ToByte(string, out byte)</dd></dl>

</div>
</div>
<a class="anchor" id="a413c4029446667516f35a948ee3cc06c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToByte </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out byte&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into bool value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The byte value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>byte.TryParse(string, out byte), ToByte(string)</dd></dl>

</div>
</div>
<a class="anchor" id="aca0b80c59f84ed6419cfc02977ce6752"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.StringExtensions.ToDateTime </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into DateTime value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The DateTime value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is string.Empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.Parse(string), ToDateTime(string, out DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="ab31973b8ac553b4aacbc3772644ad558"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToDateTime </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out DateTime&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into DateTime value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The DateTime value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.TryParse(string, out DateTime), ToDateTime(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a193f9316f751391095fa80aa53415ebd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static decimal Catharsis.Commons.StringExtensions.ToDecimal </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into decimal value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The decimal value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>decimal.Parse(string), ToDecimal(string, out decimal)</dd></dl>

</div>
</div>
<a class="anchor" id="a04dd155b9de3d8c1aff3251d613a6457"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToDecimal </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out decimal&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into decimal value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The decimal value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>decimal.TryParse(string, out decimal), ToDecimal(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a9a313ef97d91b47b08fa8d774c140812"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static double Catharsis.Commons.StringExtensions.ToDouble </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into double value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The double value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>double.Parse(string), ToDouble(string, out double)</dd></dl>

</div>
</div>
<a class="anchor" id="a3b3df5af2b2c10033565138c10b2fabf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToDouble </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out double&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into double value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The double value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>double.TryParse(string, out double), ToDouble(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a35ae9f276913c720c8ef98ebc81bf34c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T Catharsis.Commons.StringExtensions.ToEnum&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into enumeration of specified type.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>Type of enumeration.</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Element of enumeration of <em>T</em>  type, to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is string.Empty string.</td></tr>
  </table>
  </dd>
</dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>struct</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

</div>
</div>
<a class="anchor" id="a58210695b7c6e7754ec16e6e5729a011"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Guid Catharsis.Commons.StringExtensions.ToGuid </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Guid value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Guid value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>ToGuid(string, out Guid)</dd></dl>

</div>
</div>
<a class="anchor" id="ae868deaac97b1ef2645e1853e3936af9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToGuid </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out Guid&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Guid value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The Guid value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>ToGuid(string)</dd></dl>

</div>
</div>
<a class="anchor" id="afa6ba3c297d73cc53942d042d1973cb4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static short Catharsis.Commons.StringExtensions.ToInt16 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into short value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The short value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>short.Parse(string), ToInt16(string, out short)</dd></dl>

</div>
</div>
<a class="anchor" id="aa2d9aa36611f2c321b33348f0fe29905"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToInt16 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out short&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into short value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The short value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>short.TryParse(string, out short), ToInt16(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a673437913146f1096bb5cd5501dc6279"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int Catharsis.Commons.StringExtensions.ToInt32 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into int value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The int value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>int.Parse(string), ToInt32(string, out int)</dd></dl>

</div>
</div>
<a class="anchor" id="a0ca7393dcec20d11f4265571bdb78742"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToInt32 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out int&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into int value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The int value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>int.TryParse(string, out int), ToInt32(string)</dd></dl>

</div>
</div>
<a class="anchor" id="aaa3a9c1c53e6ddbb191647027656c17d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static long Catharsis.Commons.StringExtensions.ToInt64 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into long value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The long value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>long.Parse(string), ToInt64(string, out long)</dd></dl>

</div>
</div>
<a class="anchor" id="a1b8c7a4cd15ebfb6bc94e9e4f6bba77b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToInt64 </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out long&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into long value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The long value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>long.TryParse(string, out long), ToInt64(string)</dd></dl>

</div>
</div>
<a class="anchor" id="abcf534da662b79609a8d647f4a244081"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static IPAddress Catharsis.Commons.StringExtensions.ToIpAddress </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into IPAddress value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The IPAddress value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is string.Empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>IPAddress.Parse(string), ToIpAddress(string, out IPAddress)</dd></dl>

</div>
</div>
<a class="anchor" id="afaa08859a5ae366362116790d8ff691d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToIpAddress </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out IPAddress&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into IPAddress value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The IPAddress value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>IPAddress.TryParse(string, out IPAddress), ToIpAddress(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a605e55fd2b5f4035e07d189f03630f5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.StringExtensions.Tokenize </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, object &gt;&#160;</td>
          <td class="paramname"><em>tokens</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>marker</em> = <code>&quot;:&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Replaces in a string all occurrences of substrings that start with specified marker ("tokens") with specified values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Source string where replacements are to be made.</td></tr>
    <tr><td class="paramname">marker</td><td>Marker string that is used to locate substrings that should be replaced inside a <em>value</em>  string.</td></tr>
    <tr><td class="paramname">tokens</td><td>Dictionary of replacement key-value pairs with key representing substring to be replaced (without a marker), and value representing a new string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New string with all replacements made.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em> , <em>tokens</em>  or <em>marker</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>marker</em>  is string.Empty string.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6fa26683474c9a14d27c264d6a83f0cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Regex Catharsis.Commons.StringExtensions.ToRegex </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Regex value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Regex value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad3cf7df2683b0b4b663f0b756391c3bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Single Catharsis.Commons.StringExtensions.ToSingle </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Single value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Single value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Single.Parse(string), ToSingle(string, out Single)</dd></dl>

</div>
</div>
<a class="anchor" id="aaa770a15eddc41a6c285cf8d61f6d2e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToSingle </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out Single&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Single value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The Single value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>Single.TryParse(string, out Single), ToSingle(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a993c30ccd0ca66d6479ca383b799a809"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Uri Catharsis.Commons.StringExtensions.ToUri </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Uri value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Uri value to which string <em>self</em>  was converted.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>If <em>self</em>  is string.Empty string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>ToUri(string, out Uri)</dd></dl>

</div>
</div>
<a class="anchor" id="aee9db9e7f79ea263b100fe0fa58772aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.ToUri </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out Uri&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts specified string into Uri value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>String to be converted.</td></tr>
    <tr><td class="paramname">result</td><td>The Uri value to which string <em>self</em>  was converted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>self</em>  was successfully converted, <code>false</code> otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>ToUri(string)</dd></dl>

</div>
</div>
<a class="anchor" id="a1aa857c2341ed77564a738790ea749bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.StringExtensions.Whitespace </td>
          <td>(</td>
          <td class="paramtype">this string&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether the specified string is either string.Empty or consists only of white-space characters.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>A string reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the <em>self</em>  parameter is either empty string or consists of white-space characters; otherwise, <code>false</code>.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>string.IsNullOrEmpty(string)</dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_catharsis.html">Catharsis</a></li><li class="navelem"><a class="el" href="namespace_catharsis_1_1_commons.html">Commons</a></li><li class="navelem"><a class="el" href="class_catharsis_1_1_commons_1_1_string_extensions.html">StringExtensions</a></li>
    <li class="footer">Generated on Wed Aug 6 2014 00:10:38 for Catharsis.NET.Commons by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
